import { Tabs } from 'ant-design-vue'
import { defineComponent, ref } from 'vue'
import Login from './tabs/login'
import Register from './tabs/loginCode'
export default defineComponent({
  name: 'ComponentName',
  setup() {
    const activeKey = ref('1')
    return () => (
      <div>
        <Tabs v-model:activeKey={activeKey.value}>
          <Tabs.TabPane key="1" tab="登录">
            <Login />
          </Tabs.TabPane>
          <Tabs.TabPane key="2" tab="注册">
            <Register />
          </Tabs.TabPane>
        </Tabs>
      </div>
    )
  },
})
